home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Add-On
/
Workbench Add-On - Volume 1.iso
/
BBS-Archive
/
Dev
/
gcc263-c++.lha
/
gnu
/
lib
/
g++-include
/
bool.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-07-31
|
450b
|
25 lines
// Defining TRUE and FALSE is usually a Bad Idea,
// because you will probably be inconsistent with anyone
// else who had the same clever idea.
// Therefore: DON'T USE THIS FILE.
#ifndef _bool_h
#define _bool_h 1
#include <_G_config.h>
#if _G_HAVE_BOOL
#undef TRUE
#undef FALSE
#define TRUE true
#define FALSE false
#else
#undef FALSE
#undef TRUE
#undef true
#undef false
enum bool { FALSE = 0, false = 0, TRUE = 1, true = 1 };
#endif
#endif